home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 July: Mac OS SDK / Dev.CD Jul 97 SDK1.toast / Development Kits (Disc 1) / QuickDraw GX / Programming Stuff / Sample Code / Typography Samples / Dave’s Fab Samples ƒ / DavesFabSamples.r < prev    next >
Encoding:
Text File  |  1996-03-20  |  6.7 KB  |  251 lines  |  [TEXT/KAHL]

  1. /******************************************************************************\
  2. *
  3. * Apple Macintosh Developer Technical Support
  4. *
  5. * Resource definitions file for the DavesFabSamples application
  6. *
  7. * Program: DavesFabSamples
  8. * File:    DavesFabSamples.r
  9. *
  10. * by:      Forrest Tanaka
  11. *
  12. * Copyright © 1988-1990 Apple Computer, Inc.
  13. * All rights reserved.
  14. *
  15. \******************************************************************************/
  16.     
  17. #define SystemSevenOrLater 1
  18. #include <types.r>
  19. #include <systypes.r>
  20.  
  21.  
  22. resource 'vers' (1, purgeable) {
  23.     0x1,
  24.     0x0,
  25.     development,
  26.     0x2,
  27.     verUS,
  28.     "1.0d2",
  29.     "1.0d2, © Apple Computer, Inc. 1991-1993"
  30. };
  31.  
  32.  
  33.  
  34.  
  35. resource 'STR#' (1000, "Memory Error Messages", purgeable) {
  36.     {
  37.         /* [1] */ "There isn’t enough memory to open this a"
  38.                   "pplication.",
  39.         /* [2] */ "There isn’t enough memory to open the do"
  40.                   "cument."
  41.     }
  42. };
  43.  
  44. resource 'STR#' (1001, "Resource Error Messages", purgeable) {
  45.     {
  46.         /* [1] */    "This application appears to be damaged. "
  47.                     "Try using a different copy."
  48.     }
  49. };
  50.  
  51. resource 'STR#' (1002, "Miscellaneous Error Messages", purgeable) {
  52.     {
  53.         /* [1] */    "An error that’s unrecognised by this app"
  54.                     "lication has occured.",
  55.         /* [2] */    "QuickTime is not available on this Macin"
  56.                     "tosh. QMundo requires QuickTime.",
  57.         /* [3] */    "Some sort of QuickTime error occured."
  58.     }
  59. };
  60.  
  61. resource 'STR#' (1003, "File Error Messages", purgeable) {
  62.     {
  63.         /* [1] */    "This file can’t be opened because it’s a"
  64.                     "lready open in another application."
  65.     }
  66. };
  67.  
  68.  
  69.  
  70.  
  71. resource 'SIZE' (-1, purgeable) {
  72.     reserved,
  73.     acceptSuspendResumeEvents,
  74.     reserved,
  75.     canBackground,
  76.     multiFinderAware,
  77.     backgroundAndForeground,
  78.     dontGetFrontClicks,
  79.     ignoreChildDiedEvents,
  80.     is32BitCompatible,
  81.     isHighLevelEventAware,
  82.     localAndRemoteHLEvents,
  83.     notStationeryAware,
  84.     dontUseTextEditServices,
  85.     reserved,
  86.     reserved,
  87.     reserved,
  88.     1593344,
  89.     393216
  90. };
  91.  
  92.  
  93.  
  94.  
  95. resource 'ALRT' (6010, "OK", purgeable) {
  96.     {0, 0, 108, 368},
  97.     6010,
  98.     {
  99.         /* [1] */ OK, visible, silent,
  100.         /* [2] */ OK, visible, silent,
  101.         /* [3] */ OK, visible, silent,
  102.         /* [4] */ OK, visible, silent
  103.     },
  104.     centerMainScreen
  105. };
  106.  
  107. resource 'ALRT' (6011, "OK/Cancel", purgeable) {
  108.     {0, 0, 112, 368},
  109.     6011,
  110.     {
  111.         /* [1] */ OK, visible, silent,
  112.         /* [2] */ OK, visible, silent,
  113.         /* [3] */ OK, visible, silent,
  114.         /* [4] */ OK, visible, silent
  115.     },
  116.     centerMainScreen
  117. };
  118.  
  119. resource 'ALRT' (6012, "Save/Cancel/Don’t Save", purgeable) {
  120.     {0, 0, 112, 368},
  121.     6012,
  122.     {
  123.         /* [1] */ OK, visible, sound1,
  124.         /* [2] */ OK, visible, sound1,
  125.         /* [3] */ OK, visible, sound1,
  126.         /* [4] */ OK, visible, sound1
  127.     },
  128.     centerMainScreen
  129. };
  130.  
  131.  
  132.  
  133.  
  134. resource 'DITL' (6010, "OK Alert", purgeable) {
  135.     {
  136.         /* [1] */ {80, 290, 100, 358}, Button { enabled, "OK" },
  137.         /* [2] */ {80, 209, 100, 277}, StaticText { disabled, "" },
  138.         /* [3] */ {7, 75, 71, 358},    StaticText { disabled, "^0" }
  139.     }
  140. };
  141.  
  142. resource 'DITL' (6011, "OK/Cancel Alert", purgeable) {
  143.     {
  144.         /* [1] */ {80, 290, 100, 358}, Button { enabled, "OK" },
  145.         /* [2] */ {80, 209, 100, 277}, Button { enabled, "Cancel" },
  146.         /* [3] */ {7, 75, 71, 358}, StaticText { disabled, "^0" }
  147.     }
  148. };
  149.  
  150. resource 'DITL' (6012, "Save Alert", purgeable) {
  151.     {
  152.         /* [1] */ {80, 290, 100, 358}, Button { enabled, "Save" },
  153.         /* [2] */ {80, 209, 100, 277}, Button { enabled, "Cancel" },
  154.         /* [3] */ {80, 75, 100, 155},  Button { enabled, "Don’t Save" },
  155.         /* [4] */ {7, 75, 71, 358},    StaticText { disabled,
  156.                                             "Save changes to the CheapScan document “"
  157.                                             "^0” before quitting?" }
  158.     }
  159. };
  160.  
  161.  
  162.  
  163.  
  164. resource 'MENU' (128) {
  165.     128,
  166.     textMenuProc,
  167.     0x7FFFFFFD,
  168.     enabled,
  169.     apple,
  170.     {
  171.         /* [1] */ "About…", noIcon, noKey, noMark, plain,
  172.         /* [2] */ "-",            noIcon, noKey, noMark, plain
  173.     }
  174. };
  175.  
  176. resource 'MENU' (129) {
  177.     129,
  178.     textMenuProc,
  179.     0x7FFFFFFD,
  180.     enabled,
  181.     "File",
  182.     {
  183.         /* [1] */ "Close", noIcon, "W",   noMark, plain,
  184.         /* [2] */ "-",     noIcon, noKey, noMark, plain,
  185.         /* [3] */ "Quit",  noIcon, "Q",   noMark, plain
  186.     }
  187. };
  188.  
  189. resource 'MENU' (130) {
  190.     130,
  191.     textMenuProc,
  192.     0x7FFFFFFF,
  193.     enabled,
  194.     "Samples",
  195.     {    
  196.         /* [01] */ "Angled Carets and Hilites",          noIcon, noKey, noMark, plain,
  197.         /* [02] */ "Automatic Kerning",                  noIcon, noKey, noMark, plain,
  198.         /* [03] */ "Baseline Alignment",                 noIcon, noKey, noMark, plain,
  199.         /* [04] */ "Case Substitution",                  noIcon, noKey, noMark, plain,
  200.         /* [05] */ "Continuous Flushness",               noIcon, noKey, noMark, plain,
  201.         /* [06] */ "Continuous Justification",           noIcon, noKey, noMark, plain,
  202.         /* [07] */ "Cross-Stream Kerning",               noIcon, noKey, noMark, plain,
  203.         /* [08] */ "Direction Overrides",                noIcon, noKey, noMark, plain,
  204.         /* [09] */ "Extender Bars (Kashidas)",           noIcon, noKey, noMark, plain,
  205.         /* [10] */ "GetGlyphOffsets Example",            noIcon, noKey, noMark, plain,
  206.         /* [11] */ "GetOffsetGlyphs Example",            noIcon, noKey, noMark, plain,
  207.         /* [12] */ "Glyph Stretching",                   noIcon, noKey, noMark, plain,
  208.         /* [13] */ "Glyph Substitutions",                noIcon, noKey, noMark, plain,
  209.         /* [14] */ "Growing or Shrinking Lines",         noIcon, noKey, noMark, plain,
  210.         /* [15] */ "Hanging Punctuation",                noIcon, noKey, noMark, plain,
  211.         /* [16] */ "Imposed-width Whitespace",           noIcon, noKey, noMark, plain,
  212.         /* [17] */ "Indic-style Rearrangement",          noIcon, noKey, noMark, plain,
  213.         /* [18] */ "Justification with Wider Glyphs",    noIcon, noKey, noMark, plain,
  214.         /* [19] */ "Kerning Adjustments",                noIcon, noKey, noMark, plain,
  215.         /* [20] */ "Left and Right Factors",             noIcon, noKey, noMark, plain,
  216.         /* [21] */ "Letterspacing (Horizontal and Vertical)", noIcon, noKey, noMark, plain,
  217.         /* [22] */ "Ligature Decomposition",             noIcon, noKey, noMark, plain,
  218.         /* [23] */ "Ligature Split Positions",           noIcon, noKey, noMark, plain,
  219.         /* [24] */ "Ligatures",                          noIcon, noKey, noMark, plain,
  220.         /* [25] */ "Number Styles",                      noIcon, noKey, noMark, plain,
  221.         /* [26] */ "Optical Alignment",                  noIcon, noKey, noMark, plain,
  222.         /* [27] */ "Smart Swashes",                      noIcon, noKey, noMark, plain,
  223.         /* [28] */ "Split or Polarized Carets",          noIcon, noKey, noMark, plain,
  224.         /* [29] */ "Track Kerning",                      noIcon, noKey, noMark, plain,
  225.         /* [30] */ "Unicode Reordering",                 noIcon, noKey, noMark, plain,
  226.         /* [31] */ "Unlimited Gap Absorption",           noIcon, noKey, noMark, plain,
  227.         /* [32] */ "Vertical Lines of Text",             noIcon, noKey, noMark, plain,
  228.         /* [33] */ "Vertical Glyph Substitutions",       noIcon, noKey, noMark, plain
  229.     }
  230. };
  231.  
  232.  
  233.  
  234.  
  235. resource 'MBAR' (128, purgeable) {
  236.     { 128, 129, 130 }
  237. };
  238.  
  239.  
  240.  
  241.  
  242. resource 'WIND' (128, "QMundo Document", purgeable) {
  243.     {0, 0, 256, 256},
  244.     documentProc,
  245.     invisible,
  246.     goAway,
  247.     0x0,
  248.     Untitled,
  249.     noAutoCenter
  250. };
  251.